<script type="text/javascript">

jQuery(document).ready(function() {

		$('qone').addEvent('click', function(e){
				MUI.updateContent({
					element: $('mainPanel'),					
					url: 'index.php?action=toptenlog',
					title: '最新报警记录',
					padding: { top: 8, right: 8, bottom: 8, left: 8 },
					onContentLoaded: function(){
						window.clearInterval(oTimer);
						oTimer=setInterval("af_toptenlog()",4000);
					}
				});
			});
			$('qtwo').addEvent('click', function(e){
				MUI.updateContent({
					element: $('mainPanel'),
					url: 'index.php?action=serverlog',
					title: '状态日志',
					padding: { top: 8, right: 8, bottom: 8, left: 8 },
					onContentLoaded: function(){
						window.clearInterval(oTimer);
					}
				});
			});
			$('qthree').addEvent('click', function(e){
				MUI.updateContent({
					element: $('mainPanel'),
					url: 'index.php?action=systeminfo',
					title: '主机连接信息',
					padding: { top: 8, right: 8, bottom: 8, left: 8 },
					onContentLoaded: function(){
						window.clearInterval(oTimer);
					}
				});
			});

			$('qlicense').addEvent('click', function(e){
				MUI.updateContent({
					element: $('mainPanel'),
					url: 'index.php?action=license',
					title: '授权信息',
					padding: { top: 8, right: 8, bottom: 8, left: 8 },
					onContentLoaded: function(){
						window.clearInterval(oTimer);
					}
				});
			});

			$('qmailsetting').addEvent('click', function(e){
				MUI.updateContent({
					element: $('mainPanel'),
					url: 'index.php?action=mailsetting',
					title: '报警邮箱设置',
					padding: { top: 8, right: 8, bottom: 8, left: 8 },
					onContentLoaded: function(){
						window.clearInterval(oTimer);
					}
				});
			});

			$('qremailing').addEvent('click', function(e){
				MUI.updateContent({
					element: $('mainPanel'),
					url: 'index.php?action=remailing',
					title: '接收邮箱设置',
					padding: { top: 8, right: 8, bottom: 8, left: 8 },
					onContentLoaded: function(){
						window.clearInterval(oTimer);
					}
				});
			});
});
</script>
<?php $this->_block('contents'); ?><?php $this->_endblock(); ?>